package com.xiti.student.base.input;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 短信验证码
 * </p>
 *
 * @author tangz
 * @since 2018-06-11
 */
@ApiModel(value = "MobileCode", description = "短信验证码")
@TableName("tb_base_mobile_code")
public class MobileCodeInput implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull
    @ApiModelProperty(name = "mobile", value = "手机号", dataType = "String", notes = "")
    private String mobile;
    @NotNull
    @ApiModelProperty(name = "types", value = "类型(10登录验证码/20注册验证码/30忘记密码验证码))", dataType = "Integer", notes = "")
    private Integer types;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getTypes() {
        return types;
    }

    public void setTypes(Integer types) {
        this.types = types;
    }
}
